package com.itheima.search.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.search.dto.SearchDto;
import com.itheima.search.pojo.ApUserSearch;

/**
 * @description <p>APP用户搜索信息 业务接口</p>
 *
 * @version 1.0
 * @package com.itheima.search.service
 */
public interface ApUserSearchService extends IService<ApUserSearch> {
    /**
     * 存入搜索记录到redis
     * @param dto
     */
    void addSearchWords(SearchDto dto, Long userId);
}
